package org.redmagic.location;

import java.util.List;

import javax.annotation.Nonnull;

/**
 * A {@link LocationFactory} is a generic way of producing a group
 * of {@link Location}'s that can be used to resolve placeholders.
 * Where these Locations come from is up to the LocationFactory, they
 * could come from an XML file, a JSON string, a webserver, etc.
 * 
 * @author sean
 *
 */
public interface LocationFactory {

    @Nonnull
    List<Location> getLocations();
}